import store from "../store/index.js";

const timer = "* * */2 * * *";
function fn() {
  store.vcode.deleteMany({ $where: "this.expire < Date.now()" });
}

export default { fn, timer };
